package com.malty.mockapi.controller;

import com.malty.common.domain.Result;
import com.malty.common.util.ResultUtils;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author malty
 */
@Api(tags = "模拟api")
@RestController
@RequestMapping("/api/mock")
public class RepeaterController {
    @GetMapping
    @ApiOperation("复读机")
    public Result<String> repeater(String param) {
        return ResultUtils.success(param);
    }
}
